var express = require("express");
var app = express();
var fs = require("fs");
var count=0

app.use(express.static("public"));

if (fs.existsSync('./num.txt')) {
    var frequency=fs.readFileSync('./num.txt','utf-8')
}

app.get('/',function (req,res) {
    // count++
    // fs.writeFileSync('./num.txt',count)
  
    console.log('adassd ');
})


app.get("/Visit", function(req, res) {
//   res.send(num)
   
 
});

app.listen(5555, function() {
  console.log("服务器启动...");
});
